package com.newzqxq.koalamoney.entity;

/**
 * Created by ZQXQ-Developer on 2017/7/25.
 */

public class RegisterBean {


    /**
     * code : 1
     * is_alert : 0
     * data : {"id":889694886318374914,"app_key":"zqxq-hyjq","source":1,"channel":"YYB","phone":"18983221679","attribution":"重庆","client_id":"0123456789","app_version":"1.0.1","user_role":1,"balance":null,"user_name":null,"head_url":"","login_pwd":"76419c58730d9f35de7ac538c2fd6737","pay_pwd":null,"pay_salt":null,"user_status":1,"info_progress":1,"last_login_time":1500954765272,"login_fail_count":null,"create_time":null,"update_time":null}
     * msg :
     * error : false
     * success : true
     * failed : false
     */

    private int code;
    private int is_alert;
    private DataBean data;
    private String msg;
    private boolean error;
    private boolean success;
    private boolean failed;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getIs_alert() {
        return is_alert;
    }

    public void setIs_alert(int is_alert) {
        this.is_alert = is_alert;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isError() {
        return error;
    }

    public void setError(boolean error) {
        this.error = error;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public boolean isFailed() {
        return failed;
    }

    public void setFailed(boolean failed) {
        this.failed = failed;
    }

    public static class DataBean {
        /**
         * id : 889694886318374914
         * app_key : zqxq-hyjq
         * source : 1
         * channel : YYB
         * phone : 18983221679
         * attribution : 重庆
         * client_id : 0123456789
         * app_version : 1.0.1
         * user_role : 1
         * balance : null
         * user_name : null
         * head_url :
         * login_pwd : 76419c58730d9f35de7ac538c2fd6737
         * pay_pwd : null
         * pay_salt : null
         * user_status : 1
         * info_progress : 1
         * last_login_time : 1500954765272
         * login_fail_count : null
         * create_time : null
         * update_time : null
         */

        private long id;
        private String app_key;
        private int source;
        private String channel;
        private String phone;
        private String attribution;
        private String client_id;
        private String app_version;
        private int user_role;
        private Object balance;
        private Object user_name;
        private String head_url;
        private String login_pwd;
        private Object pay_pwd;
        private Object pay_salt;
        private int user_status;
        private int info_progress;
        private long last_login_time;
        private Object login_fail_count;
        private Object create_time;
        private Object update_time;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getApp_key() {
            return app_key;
        }

        public void setApp_key(String app_key) {
            this.app_key = app_key;
        }

        public int getSource() {
            return source;
        }

        public void setSource(int source) {
            this.source = source;
        }

        public String getChannel() {
            return channel;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getAttribution() {
            return attribution;
        }

        public void setAttribution(String attribution) {
            this.attribution = attribution;
        }

        public String getClient_id() {
            return client_id;
        }

        public void setClient_id(String client_id) {
            this.client_id = client_id;
        }

        public String getApp_version() {
            return app_version;
        }

        public void setApp_version(String app_version) {
            this.app_version = app_version;
        }

        public int getUser_role() {
            return user_role;
        }

        public void setUser_role(int user_role) {
            this.user_role = user_role;
        }

        public Object getBalance() {
            return balance;
        }

        public void setBalance(Object balance) {
            this.balance = balance;
        }

        public Object getUser_name() {
            return user_name;
        }

        public void setUser_name(Object user_name) {
            this.user_name = user_name;
        }

        public String getHead_url() {
            return head_url;
        }

        public void setHead_url(String head_url) {
            this.head_url = head_url;
        }

        public String getLogin_pwd() {
            return login_pwd;
        }

        public void setLogin_pwd(String login_pwd) {
            this.login_pwd = login_pwd;
        }

        public Object getPay_pwd() {
            return pay_pwd;
        }

        public void setPay_pwd(Object pay_pwd) {
            this.pay_pwd = pay_pwd;
        }

        public Object getPay_salt() {
            return pay_salt;
        }

        public void setPay_salt(Object pay_salt) {
            this.pay_salt = pay_salt;
        }

        public int getUser_status() {
            return user_status;
        }

        public void setUser_status(int user_status) {
            this.user_status = user_status;
        }

        public int getInfo_progress() {
            return info_progress;
        }

        public void setInfo_progress(int info_progress) {
            this.info_progress = info_progress;
        }

        public long getLast_login_time() {
            return last_login_time;
        }

        public void setLast_login_time(long last_login_time) {
            this.last_login_time = last_login_time;
        }

        public Object getLogin_fail_count() {
            return login_fail_count;
        }

        public void setLogin_fail_count(Object login_fail_count) {
            this.login_fail_count = login_fail_count;
        }

        public Object getCreate_time() {
            return create_time;
        }

        public void setCreate_time(Object create_time) {
            this.create_time = create_time;
        }

        public Object getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(Object update_time) {
            this.update_time = update_time;
        }
    }
}
